php forum
php mysql forum
php mysql smarty
 
Topic Options
#315209 - 08/15/07 02:39 AM [7.x] IM Status Indicators
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Author: Gizmo (James of VNC Web Design)

Requirements: UBB.Threads 7

About: This will update the standard listing of instant messenger names that a user supplies in their profile with a status indicator (utilizing the detection scripts from OnlineStatus.org).

Install Instructions:
In templates/default/showprofile.tpl
Find:
Code:
<td valign="top">
{$lang.PROF_ICQ}:
</td>
<td valign="top">&nbsp;
{$icq}
</td>
</tr>
<tr>
<td valign="top">
{$lang.PROF_YAHOO}:
</td>
<td valign="top">&nbsp;
{$yahoo}
</td>
</tr>
<tr>
<td valign="top">
{$lang.PROF_MSN}:
</td>
<td valign="top">&nbsp;
{$msn}
</td>
</tr>
<tr>
<td valign="top">
{$lang.PROF_AIM}:
</td>
<td valign="top">&nbsp;
{$aim}
</td>


Replace With (for the default status icons):
Code:
<td valign="top">
{$lang.PROF_ICQ}:
</td>
<td valign="top">&nbsp;
{if $icq}
<img src="http://myproxy.tzo.com:8081/icq/{$icq}" alt="-" /> - 
{/if}
{$icq}
</td>
</tr>
<tr>
<td valign="top">
{$lang.PROF_YAHOO}:
</td>
<td valign="top">&nbsp;
{if $yahoo}
<img src="http://myproxy.tzo.com:8081/yahoo/{$yahoo}" alt="-" /> - 
{/if}
{$yahoo}
</td>
</tr>
<tr>
<td valign="top">
{$lang.PROF_MSN}:
</td>
<td valign="top">&nbsp;
{if $msn}
<img src="http://myproxy.tzo.com:8081/msn/{$msn}" alt="-" /> - 
{$msn}
{/if}
</td>
</tr>
<tr>
<td valign="top">
{$lang.PROF_AIM}:
</td>
<td valign="top">&nbsp;
{if $aim}
<img src="http://myproxy.tzo.com:8081/aim/{$aim}" alt="-" /> - 
{$aim}
{/if}
</td>


Or, replace with (for custom icons):
Code:
<td valign="top">&nbsp;
{if $icq}
<img src="http://myproxy.tzo.com:8081/icq/{$icq}/onurl={$config.BASE_URL}/images/{$style_array.general}/status-online.gif/offurl={$config.BASE_URL}/images/{$style_array.general}/status-offline.gif/unknownurl={$config.BASE_URL}/images/{$style_array.general}/status-unknown.gif" alt="-" /> - 
{/if}
{$icq}
</td>
</tr>
<tr>
<td valign="top">
{$lang.PROF_YAHOO}:
</td>
<td valign="top">&nbsp;
{if $yahoo}
<img src="http://myproxy.tzo.com:8081/yahoo/{$yahoo}/onurl={$config.BASE_URL}/images/{$style_array.general}/status-online.gif/offurl={$config.BASE_URL}/images/{$style_array.general}/status-offline.gif/unknownurl={$config.BASE_URL}/images/{$style_array.general}/status-unknown.gif" alt="-" /> - 
{/if}
{$yahoo}
</td>
</tr>
<tr>
<td valign="top">
{$lang.PROF_MSN}:
</td>
<td valign="top">&nbsp;
{if $msn}
<img src="http://myproxy.tzo.com:8081/msn/{$msn}/onurl={$config.BASE_URL}/images/{$style_array.general}/status-online.gif/offurl={$config.BASE_URL}/images/{$style_array.general}/status-offline.gif/unknownurl={$config.BASE_URL}/images/{$style_array.general}/status-unknown.gif" alt="-" /> - 
{$msn}
{/if}
</td>
</tr>
<tr>
<td valign="top">
{$lang.PROF_AIM}:
</td>
<td valign="top">&nbsp;
{if $aim}
<img src="http://myproxy.tzo.com:8081/aim/{$aim}/onurl={$config.BASE_URL}/images/{$style_array.general}/status-online.gif/offurl={$config.BASE_URL}/images/{$style_array.general}/status-offline.gif/unknownurl={$config.BASE_URL}/images/{$style_array.general}/status-unknown.gif" alt="-" /> - 
{$aim}
{/if}
</td>


[b]Note for custom images ONLY[/b}: Please note that I haven't tested the custom images section and am merely providing it here as a courtesy; a possible problem could arise from the base_url including http://www, so let me know how it works out for you wink... You will need to create the following three icons in your general folder for your forum images set (images/general/default):
status-online.gif
status-offline.gif
status-unknown.gif


Attachments
imstatus.JPG


_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks